﻿using OnlineFIR.Models;

namespace OnlineFIR.Storage
{
    public static class SlotStorage
    {
        public static List<Slot> list;
        static SlotStorage()
        {
            list = new List<Slot>();
        }
        public static string Add()
        {
            Slot n = new Slot();
            list.Add(n);
            return n.identifier;
        }
        public static Slot Find(string identifier)
        {
            return list.Find(s => s.identifier == identifier);
        }
        public static void GC()
        {

        }
    }
}
